SET NET2.0PATH="%windir%\microsoft.net\framework\v2.0.50727"
SET NET3.5PATH="%windir%\microsoft.net\framework\v3.5"
SET IDEPATH="%VS90COMNTOOLS%..\IDE"
SET DLLPATH="%VS90COMNTOOLS%..\IDE\Eclipse.VsCocoR.dll"
%NET3.5PATH%\msbuild VsCocoR\VsCocoR.csproj /p:Configuration=Release;OutputPath=..\bin
RD VsCocoR\obj /Q/S
COPY bin\Eclipse.VsCocoR.* %IDEPATH%
%NET2.0PATH%\regasm /tlb /codebase /codebase %DLLPATH%
@ECHO OFF
ECHO Windows Registry Editor Version 5.00 >> vs.reg
ECHO [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Generators\{FAE04EC1-301F-11d3-BF4B-00C04F79EFBC}\Coco]  >> vs.reg
ECHO "CLSID"="{17FE6ED0-1AB8-45c2-8A73-23A520DD551F}" >> vs.reg
ECHO "GeneratesDesignTimeSource"=dword:00000001 >> vs.reg
ECHO @="Coco generator for Visual Studio 2008" >> vs.reg
@regedit /S /Q vs.reg
@del /Q vs.reg
@ECHO



